package demo2;

import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 何华树
 * Date: 2024-09-04
 * Time: 16:33
 */
public class Main {
    public static void main1(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = scanner.nextInt();
        if((a>b && a<c) || (a>c && a<b)) {
            System.out.println(a);
        } else if ((b>a && b<c) || (b>c && b<a)) {
            System.out.println(b);
        }else {
            System.out.println(c);
        }
    }
}
